package exceptions.semantic;

public class ConstructorSuperException extends SemanticException{
	private int linea;
	private String metodo; 
	public ConstructorSuperException(int l, String met) {
		linea = l;
		metodo = met;

	}
	
	public String getMessage(){
		return ("ConstructorSuperException: Error Semantico! "+metodo+" Detalle: En Decaf no se permite utilizar super de constructor. - Linea: "+linea);
	}


}
